package com.jg.test.Monster;

import lombok.Getter;
import lombok.Setter;

@Getter
@Setter
public class Spider extends Monster{
    private String name;
    private int health;
    private int healthLimit;
    public int[] rollPoint;

    public Spider() {
        this.name = "大蜘蛛";
        this.health = 3;
        this.healthLimit = 3;
        this.rollPoint = new int[]{5,6};
    }

    public Spider(int x){
        this.name = "小蜘蛛";
        this.health = 2;
        this.healthLimit = 2;
        this.rollPoint = new int[]{5,6};
    }
}
